package Model;

import java.net.InetAddress;

public class ChatUser {
   
    private String username;
    private InetAddress adresse;
    //Constructeur
    public ChatUser(String nomUser, InetAddress adresseUser){
        this.username=nomUser;
        this.adresse=adresseUser;
    }
    //Getter
    public InetAddress getAdresse() {
        return adresse;
    }
    //getter
    public String getUsername() {
        return username;
    }
    //Setter
    public void setAdresse(InetAddress adresse) {
        this.adresse = adresse;
    }
    //Setter
    public void setUsername(String username) {
        this.username = username;
    }
}
